package com.ggy.tuibi.service.yuanqimoguicheng;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ggy.tuibi.entity.yuanqimoguicheng.Machine;
import com.ggy.tuibi.entity.yuanqimoguicheng.YuanQiMoGuiChengUser;

import java.util.List;

public interface YuanQiMoGuiChengService extends IService<YuanQiMoGuiChengUser> {

    String getJiQiInFo(String userId,String groupId);

    YuanQiMoGuiChengUser enroll();

    Boolean yuanQiQianDao();

    YuanQiMoGuiChengUser getUserByUserIdApi(String userId);

    void shangJiFenXia(String jiQiName);

    List<Machine> getMachineList();

    void shangJi(YuanQiMoGuiChengUser user, Machine machine);

    void xiaJi(YuanQiMoGuiChengUser user, Machine machine);

    void shangFen(YuanQiMoGuiChengUser user, Machine machine);

    Machine getMachineAliasByMachineId(Machine jiQi, YuanQiMoGuiChengUser user);

    void updateUserCost();

    String qiehuan(String jiQiName,String mainUserId,String mainUserCode,String sourceUserId);
}
